Added better error tracking for debug mode
Setup a minimum size for shrinking