add comments in smooth.c