Change to iterative dymanics. Doesn't work though.

From now on, will try to implement nearest neighbour approach. No
further trys on iterative dynamics.