add Distance and Bucket