Fix: possibility of root calculation with negative argument has been removed