MPAS write algorithm and paragraph