applied patch to remove duplicate points rather than adding variance