Make sure we don't run out of space.