Which machine? What Z-axis?
Upload the file?
Where possible avoid slotting and add geometry and cut as a pocket
and/or
and consider leaving a roughing clearance and taking a finishing pass.