changed cost2 to cost(log2)
changed the default name