Enable compression in samc.pyx
Cleanup utils a bit