cut lenght for rank