save memory by reducing duplicated array sets