All tagged bar layout optimization