Remove trailing whitespace.
Apply some interpolation on the projection.