add picSize, CuSize and tiles coord to selectCu
optimize clock position checking