Changed vec <-> flatten (flatten to be removed later), #554