New method to generate data with a cutoff if the nonboneded are too close