difficulty splitted
implemented alt chain pos support
fixed broken build