Libfcg

- Started to implement merge function for blocks