Added getBucketNumber to kwroutes to determine the number of k-bucket to store a route.