add unique index to locations horizontal spaceing