Error on escaping slice of local static arrays