Thin walls are a problem in starships.

I'm sure you remember the lower decks episode where they got quarters next to the holodeck.