Peridynamic computations with variable grid size