allow for Bounds (slightly modified from GalSim verion)
(#6)