stencil3d ldb example: change the compute function