[front_end] new interface to construct 2D