Make orderedNtoS more efficient by adding a custom mconcat.