New tool automates polygon realignment