added size verification in both numbers