this.forEachField = function(range, field, fields, perField) {
        for(var x = -range ; x <= range ; x++) {
            for(var y = -range ; y <= range ; y++) {
                if(x!=0 || y!=0) {
                    var surroundingElement = fields[(field.x+x)+":"+(field.y+y)];