hello
im not shure if someone came up with this idea yet but
how about :
devide storage into 3 separate types of blocks
first) the storage block , this block is the actual storage it self
second) the upgrade block , for each upgrade linked it adds one row (on destruction this block...