Added iterative Steinhaus-Trotter-Johnson