Mean curvature flow as a tool to study topology of a 4-manifold