Minor optimization on brackets