made array_all_cgrect singleton