added parameter to skeleton feature to allow node merging