Use factor of 2 for max_length.