Waiting for space during initialization added