Added shrink code comparison

If a shrink code is the same as an existing shrink, then it re-generates it.