Move all algorithm's options into separate structure.

All options (timeouts, thresholds, limits) are stored in separate structure now. It's easier than pass it to actor by one.