Tailoring the stress-depth profile in thin films; the case of γ’-Fe4N1-x