Yeah, nobody would want that. But why assume the spacecraft will be cramped? They could well be extremely large rotating colonies, with an internal area equal to a large city or small country. And if you can build such craft, then why bother terraforming planets? Mine asteroids or planets for materials to make new colonies, study the stellar system, and move on to the next star when it gets a bit crowded.