some small changes to DBScan and sims
merge conflict fixed