If there are any fittings, control valves, orifices, etc., close to the check valve they will cause turbulence. This may result in "chatter" and premature failure of the check valve. Our standards require straight runs of 5D upstream and 2D downstream of the check valve. Although you have not mentioned the type of check valve being used, 8D sounds very conservative. A 1D distance is too close for any type of check valve in continuous service.