Revert "Provide suitable error message for build indexes that are out of bounds (#127)"

This reverts commit 90af782e55a8f9d44037518d15043552baae68ea.