construct elem2elem array