Implemented sample_bounds
Implemented part of sample_bounds
implemented part of sample_bounds