I found the (assumingly) correct way.
type
Object[size: static[int]] = object
list : array[size, int]
size : static[int]
#[
size = size
# won't work for now but in the future...
# https://github.com/nim-lang/Nim/issues/3250
]#
Runas for now, I believe I need to use a constructer
