Updating the structure regions

Implementing a struture to map the regions of codes