return if maxblocks have already been generated