refactor shardPaths to be a bit smaller