The impact of agroecological factors on morphological traits of maize