EDIT: pod_func.py Finished merge algorithm, yield algorithm, added
globals, finished slow algorith