refactored size of the line in mpiconnection