BF: added check for when seeds are out of volume's boundaries

Hi Bago, thank you for looking into this and sorry for the trouble. Here is a fix.