Fixed a bug when not having constantly increasing codes