use []byte for partitionOpaque for less garbage