how wood is formed from the inside