add 24bit clustering algorithm and knapsack algorithms