Modified fibonacci