Changing way path segments are stored, hoping this will reduce memory footprint.
Merge branch 'master' of github.com:dieuwkehupkes/Thesis