Functions for smoothing with infinite order flat-top kernels