Revrted back the previous commit
Added oversampling