charged cuboid potential