Beam Splitting algorithm in geometrical optics approximation