Factoring out solveMetadata1d calculations.