IMCOMPATIBLE CHANGE: index format changed from end to length.