Support non-square sliding windows