Note that it finds the bottom index first.