implemented progressively-increment-numbers-in-rectangle and region