fix maggies length in reconstructed_maggies