If the bolt isn't going all the way back, here's what you need to do:
1. Make sure nothing is binding. With the weapon cleared, the bolt carrier should travel all the way to the rear and back forward without sticking or binding. With the bolt locked back, you should be able to use a small flat screwdriver to move the op rod rearward, and it should smoothly spring forward without any sticking or binding. Once you have everything moving smoothly, do one or more of these:
2. Switch to a lighter buffer. Heavy buffers will slow down cycling rate and reduce the total distance the bolt carrier travels.
3. If you have an extra-power action (buffer) spring, replace it with a standard-power spring.
4. Drill the gas port in the barrel larger, using a numbered drill set so you can open the hole a few thousandths of an inch at a time. Try everything else first, because you can damage the barrel if you do it wrong, as well as go from too little gas to too much. You'll also have to remove and replace the gas block every time you drill, which is a hassle.