I am try to implement a threecsg library, but when trying to use the functions implemented I get an error saying: "Uncaught RangeError: Maximum call stack size exceeded