partial fix for map (non-)support of const ranges