3D Fixes: (1)fixed back-front mistake, (2) fixed end of innerIterator