changed buckets to unsigned int to make gcc 49 happy