simplified constraints on vectors using new ValidVector class from params