Updated address hashing so we don't exceed flash model boundaries