Thanks for your reply, MrShorty! Will try to work out the algebra.