changed score difference sampling method.