Fixed an insideous bug in the shrink_size function