log2 fn not working, but good performance w/ 2set/256entry