Well I've fixed the constant and it seems to have fixed the problem ... I would never have found that. I've only tested it for the one node example provided by crschmidt so it hasn't had exhaustive testing :-) Thanks all for the assistance. It's checked into svn now.