Move and Place: switched from recursive to loop algorithm.