Implement deallocateBlocks