Testing successful on ubuntu - and ALOT faster on a decent CPU
Did some profiling using line_profiler - successful
Basically my intersect code is optimised well - some small tweaks can help code
Next step is adding min / max elevation constraintsZZ
re-ran profiling