adding sumation function and making the addition of adjacent voxels optional