Changing getStyle([$icol, $irow]) to getStyle([$icol, $irow, $icol, $irow]) produces required result
getStyle([$icol, $irow])
getStyle([$icol, $irow, $icol, $irow])