Optimised imports.  Also changed the way subsampling is handled for ALLPATHS.