speed up ip parsing