determined positions of each beams