adjust max z speed