Do not calculate level if it is already defined.