Text this: EFFICIENT ALGORITHM FOR WEINBERGER ARRAY FOLDING