add undersampling to reduce effect of noise datapoints