adds min_vXX macros