Remove the limitation of arcount
Modify the function to calculate the length of name part