Add weights option

Simple change to add option to modify the weight of parens