Finally. Turns out I was setting the new startSlope incorrect. Time for clean-up after this