index length to 1000