Combine settlement and resource algorithms