Optimal Polygonal Schema on an Orientable Surface