How to determine anchor points