resize support in cgpt