Better support for huge grids. Fixed interval bug when using a large number of captures