Finding short cycles in embedded graph in polynomial time