1. fix memory leak in GridRener
2. testing inverible MPM