Corrected bug when nip is bigger than 1111111111