Refactoring the structure. Recofnizing addresses and no of bytes