added nudging vertices in pass 3