refactor node and bind command
implement switch between uniform and distance-based weighting in Laplacian smoothing