Basic implementation of point-bridge algorithm.