checkArraySize

fun checkArraySize(width: Int, height: Int, arraySize: Int)