Connecting sketches using coincidence constraints