janf-erasurecodes/cpp: support for random/long reads ind erasure case