Better comments to explain the bucket finding algorithm