Smart UV unwrap being dumb

Ok, so here is what happened. I made 2 medieval styled buildings. I did a smart UV unwrap on the 1st one and it worked very well. The 2nd one, which is less complicated than the 1st, was smart UV unwrapped and it turned out horrible. The texture map on the 1st is 10241024 and the 2nd is 20482048. In the second one, the unwrapped mesh wasn’t even inside the texture map all the way. Please tell me why this is happening. If you don’t understand, I can post screenshots.

Figured it out. I had to rescale the building in EDIT mode, not object mode.