Optimize generate book address