small fix for reversed sample interpolating