Add the Smooth term

Write the smooth term and find the connect pair (above and down)