minimize will change the hash to custom