optimized map for rendering tests
bugfixed Boundary iterator