interpolation with median, getline issue not solved