Updated verification of Duplicate nodes

Added Tolerance verification for X and Y