implemented findBestInitialOrientation()