the rifle they were using for the exercise was an american-manufactured barrett m82 , a .50 caliber rifle with an effective range of eighteen hundred meters , although accuracy became iffy after nine hundred to a thousand meters .