Builds index for part 1 on server