Added erasure coding stuff