group patterns in VM.h