disable empty blocks before running maximizer, fix size calculation edge case