Resolving the integer overflow problem by simply adding braces

If the number of lines in the sequence file was too high, we were experiencing an integer overflow exception. However to get the final answer of the multiplication/division, we just need to multiply by the ratio which will be a multiplication with a smaller number