Initial version of a slimmed and simple vertex validator

Better use nullptr .