changed some physics, collision and building gen code