Prepared for polygon merge algorithm.