gaia coding optimize.