bounded binary and cereal versions