Bi-directional adaptative oversampling