gettign the code generator to hardcode the address calculation for a given dimension