Add assert to checkout that dimension is = to 0 or 1