Fixed iterative sequential dist algo