refactor: offshoot alloc_interpolation_points from round_corners
Function round_corners() is very long.
Offshoot big fragment of code to alloc_interpolation_points().
Function round_corners() is very long.
Offshoot big fragment of code to alloc_interpolation_points().