Miles City man gets 6 1/2 year child porn sentence