handle dense nodes (partially)