2d Gravitational simulation in a constrained box.