Optimization of tilegen + fixes