An alternative contact/impact identification algorithm for 2d structural problems