fixed measure loop