polygon reducer