Modification to auth in getLayerPoints and speed improvement for getCrossovers