How to calculate a summary address