Douglas, >> Hm, presumably, some more patching is needed to cover the cases when one >> or both hwms/swaps is infinite. Can you possibly do that? I've fixed the code for infinite HWMs and committed it to the master. Thanks! Martin