ENH: safety bounds checks for take funcs