var getHighestRow;
getHighestRow = function(grid, highestRow) {
var column, row, _i, _j;
if (highestRow == null) {
highestRow = 18;
}
for (row = _i = 1; _i <= 20; row = ++_i) {
for (column = _j = 1; _j <= 10; column = ++_j) {
if (grid[row][column] > 0) {
highestRow = Math.max(1, row - 3);
column = row = 100;
}
}
}
return heightestRow;
};