fixed linear interpolation with median values or without
fixed linear interpolation with median values or without