fixed minor bug in dfdecimate