Corrected the mistake in finding SmallestBig