Step 1 of rendering isosurface on multiple cubes.