Seems to be working now. Spring constant was way too big. I set the spring constant to 10^-30 that might still be too big but it doesn't blow up instantly anymore.