polygon work with offset