oldToNew

fun oldToNew(segment: Int): Int