Motor unit calculation for high energy photon beams by