finish longest common prefix
finish add binary