Provide suitable error message for build indexes that are out of bounds (#121)

PR is attempting to patch #121
Given that this method is called `is_` it should return a boolean. Maybe throwing the exception should be done by the calling code for a better handling.