round to even number of samples