add basic protection against creating particles with out of range index. #85

* has to be enhanced, at the moment the creation simply stops then.