on-the-fly index creation (closes #54)
replace tabs with spaces in merge.d