When you fly a cargo 747 with no cabin ceiling, it is startling the distance to the roof. It's enormous, so on a 747 there is plently of upper level space. The 777 is probably comparable. The Dreamliner has a smaller fuselage than a 777, so it may be time to shuffle around on knees....IF it has ceiling accommodation!