         real3 V_pic = real3(0.0);
 
         const real bin_edge = device_settings.bin_edge;
-        const real inv_bin_edge = real(1.0) / bin_edge;
+        const real inv_bin_edge = device_settings.inv_bin_edge;
         int cx, cy, cz;
 
         LOOP_TWO_RING_GPUSP(


        int cx, cy, cz;
        const real bin_edge = device_settings.bin_edge;
        const real inv_bin_edge = real(1.0) / bin_edge;

        LOOP_TWO_RING_GPUSP(  //



        int cx, cy, cz;
        const real bin_edge = device_settings.bin_edge;
        const real inv_bin_edge = device_settings.inv_bin_edge;

        LOOP_TWO_RING_GPUSP(

