skip empty map
WEB-12852 Windows: IDE exits when stopping Node.js app
fix computeNotSparseGroups — expected exclusive "to", so, we should pass "endInclusive + 1"