Merge pull request #198 from Shivam7-1/patch-2

 Multiplication result converted to larger type (Mitigate Arithmetic Overflow in Memory Allocation)