pad indexes. closes #2