Start to code higher dimension situation.