Fixed dictionary initializer optimization in presence of inner functions