Pre-grading of Douglas-fir logs for glulam lamella production