Fixed intersection calculation, reworked bridge building