A constructive approach to minimal realization problem of 2D systems