fix(performance): big improvement in rgMap