fillInLeftovers method