Fixed error compute ISE in constant time. The error was in the line equation calculation