Use int for region p1,p2