Fold constant arrays