Fix round off error in resample
Cleanup default reducer