array to brick