adjusted sampling procedure gives a big performance improvement tested on 5M dataset, should be tested on 100M dataset