Finding peaks in wood-density profiles