Yeah, admittedly, the logistics of the tower are a conundrum. I suppose you have to chalk things like stale food, disposal of waste & trash, air supply, etc. to the fact that this was a fairy tale. The tower was probably used in place of a convent or madhouse.