checks for no blocks to generate