Added grid slicing
Windowing done