Implemented resize_block