Re-did genshrink() and sanitize()