Create longest valid parenthesis