Upgrade Ubuntu from 16 to 18 on MDB hosts running MDB 4.0.x

We are planning to upgrade OS for MDB hosts (MDB 4.0.x) from Ubuntu OS 16 to Ubuntu OS 18.

Wondering if the same set of MDB binaries work?

If a new set of binaries are needed, is it just a binary swap or do we need to re-write all of the data again onto ubuntu 18 MDB instance?