added sum combination and only grid on active loc layers