client: optimize receiving tiledata
server: parallelize tree counting
remove unused param
server: cleanup envob.size