Using anchor points to find the zero line