grid-search for best-orientations of horizontal