A Compacted Structure for Cross-domain learning on Monocular Depth and Flow Estimation