index range support for resize added