function xx=small(x,n)

xx=x-n*round(x/n);

