gaia basic vector coding optimize.