added a check whether or not the index already started before index starts
expanded the width of coding tables