L2 operator factory for sibling renormalization.
refactor some utility function.