added TBB for generating routes but its slower on anything but huge problems