checks (and repairs) invalid block sizes