What if you did this by lining up specific points instead of the percentage of the object.
What I mean is to match each vertex. For a polygon matching all vertexes with an appropriate vertex to some variable degree of success will read as equal positions.