The building is not completely integrated. In the sixth book, Harry and the Half-Blood PrinceOrder of the Phoenix chapter 17, Harry and Ron went to visit Hermione in the girls dormitory. In such a case the stair modifies into a slide, as the founders considered boys to be less trustworthy than girls.