https://stackoverflow.com/questions/40468398/three-js-uncaught-rangeerror-maximum-call-stack-size-exceeded-in-render-loop