convert

fun convert(min: Int, max: Int, norm: Int = (max + min) / 2): Int