Effects of size, competition and altitude on tree growth