Pass Hive's cost factory to VolcanoPlanner base class. Make HiveCost immutable.