Implement ProdSpace using an array rather than linked list.