[grid.part.indexset.local] fixed unsafe integer conversion
[factory.default] fixed unsafe integer conversion
[grid.part.leaf] added missing include