create specific math directory under ref directory