fixes and symcraft compilation speedup