Why stop at 3 dimensions?
Specify window for each dimension