find polygon boundary around board