done with bytestring.lazy modulo replicate