We prove that the variation in a smooth projective family of varieties admitting a good minimal model forms a lower bound for the Kodaira dimension of the base, if the dimension of the base is at most five and its Kodaira dimension is nonnegative. This gives an affirmative answer to the conjecture of Kebekus and Kovács for base spaces of dimension at most five.Theorem 1.2. Conjecture 1.1 holds when dim(V ) ≤ 5.