add longest valid parethsis