distance based binning seems to work better now