calculate fibonacci no recursion, no extra memorie