Initial version of a slimmed and simple vertex validator

In case of revisions: for the former I (or else) should change it as many times as it appears in the code (and eventually change consistently if really needs to be the same), for the latter - just one change and you don't litter the code with meaningless numbers. Make sense?