Changed MPZ from dynamic memory to static memory