Fish growing according to the size of their tank is an old school fallacy. The stunting is the result of nitrite poisoning aka brown blood disease aka methemoglobinemia. As stated above, this condition will drastically reduce the life span of affected fish, decrease their energy levels, increase their chances of contracting diseases, wash out their natural colors, etc. Affected fish moved to larger and better maintained quarters may recover provided they're not in the latter stages of the disease. Keep in mind that this disease reduces the bloods ability to absorb oxygen and transfer O2 to cells and remove waste gases/products. The affected cells cannot repair themselves. And, since fish have self-replicating blood cells (instead of bone marrow to produce new cells as in mammals), the fish will eventually arrive at a point where it will have insufficient healthy blood cells needed to make a full recovery. If the fish can recover, it's likely to continue growing once its red blood count, and immunity system, has been restored.