improved permutation get(index) performance
removed unused TypeBoundaries class