A monolithic smoothing-gap algorithm for contact-impact based on the signed distance function