but these were narrow and precarious as well , with some buildings leaning over so much that they had to have joints attached to them outside , beams stuck into the ground and pitched against the walls .