Shrinking generator