ENH: add optional spatial smoothing during assembly