Added handling for carry out and small numbers.