temporary fix for #86

this changes EncodeRing() to require that bytesPerSegment be a
multiple of 64 rather than 8. Eventually we'll figure out what's
causing this bug and revert this change.