updated find_bounds