BF Fixed the case of empty set of regions in bsa -- to be further checked