The surface of cuboids and Siegel modular threefolds