ISPN-4678 Trim down ExpandableMarshalledValueByteStream to the actual data length before storing in cache
Revert "Revert rebalancing per cache"

This reverts commit 8cbba22ae625c7dd3e8f5ff389b71f4b49aec2b4.