updating some of the math that calculates the fill pointer