Construction of a modular building