minimum vector code