work out expand traits without using datasize