beam orientation optimization