Organise and init merkle tree spec