Added offset and offsetter to top and bottom calculations.