transform_smooth: don't require integer n