Added minimization logic in Function
Display minimized funcs near the origin ones