further optimized gather collisions
optimized bucketize a little