fixed loop variant