Fixed missing halo_size dependence and numeric issue in adressing grid indices

Index assignment via
global_index[i] = (int) floor((pos[i]-this->offset[i])/this->agrid[i]+ROUND_ERROR_PREC);
failed for mesh data with insufficient precision.