Small bug in the shrinking process