move iv22 patern settings to iv22.cpp