change in constant and index