looking into using my old Interpolate method instead of calc_line_layer, seems to be much faster