accidentally made slopeLimit private