optimize address generation protocol