detect biggest polygon