do_concat just concat the first level of arrays, not recursively like a flatten implementation