Add max_size to direct_fetch