fix wrong CTB size computation