Refined last name algorithm more