Added an example with a constant complexity.