fix crashes when loading static meshes
replaced with simple math structures - 2