decrementing and incrementing size