int maxWork = maxTileWork(tileCosts);
double maxWork = (double)maxTileWork(tileCosts);
    private int[] biasCosts(int[] tileCosts) {        int maxWork = maxTileWork(tileCosts);        for (int i = 0; i < tileCosts.length; i++) {            if (tileCosts[i] < maxWork)                tileCosts[i] = (int)((double)tileCosts[i] * 1.1);        }                    return tileCosts;    }