change inputs to generateSpace

now takes some sampling space "I" and a set of ranges "gr" for which to calculate null regions