Revert "Coord algorithm improved"

This reverts commit 711114e0504a0a1219bc30284ce868026a809b66.