print node per tree level