#493: fixed bug with repeated adding of nodes while calc