the heavy portcullis gates isolated each level of the prison from the stairway , and more cut the stairway off from the rest of the building , while still more heavy grates sealed the building 's only exit , several floors below .