fix regression in the example, the fibX() functions are 1-based