Simulate the Strauss point process in 2- or 3-dimensional cube (rectangular cuboid).