No one has mentioned Heinlein's story?
Such an obvious inspiration for the movie:
https://en.m.wikipedia.org/wiki/%22?And_He_Built_a_Crooked_House?%22
Such an obvious inspiration for the movie:
https://en.m.wikipedia.org/wiki/%22?And_He_Built_a_Crooked_House?%22