One externally visible function at a time; one git branch for each
$> git checkout -b speedup_get_intersection
continued...