Working range detection for arrays.