ON COMPUTING AD-HOC SELECTIVE FAMILIES