Fill the concol vector
concol . push ( col [ 0 ] - 0 - 1 ) ; concol . push ( N + 1 - col - 1 ) ; for ( var i = 1 ; i < c ; i ++ ) { concol . push ( col [ i ] - col [ i - 1 ] - 1 ) ; } var row_size = conrow . length ; var col_size = concol . length ;