speed improvements for feature intersections and, hopefully, logging