Douglas, > Please, do check whether everyting works as expected. Hm, presumably, some more patching is needed to cover the cases when one or both hwms/swaps is infinite. Can you possibly do that? Martin