what if `borderType = BORDER_REPLICATE  | BORDER_ISOLATED`?