Add MaxFieldSize to sample