fixing tree height and node spacing