Numerical simulation of rolling pad instability in cuboid liquid metal batteries