Fixed building highlight for allocated and optional outputs