Information-driven general functional decomposition targeted to gate libraries door