revert change to advance_bounded due to performance regression