arrangeN works properly with single window now