crash in sph_calcNewPos debugged (hopefully)