Another modification of encoding VDBs was added

Signed-off-by: Bleska <blecha.jiri@gmail.com>