- added first implementation of intervalIndex