Changed z_max to 10 in mapper. Needs to expose this parameter