Return the proper length