Added fill from top and bottom operations for polite numbers.