change Z limits