Large number of changes addressing data storage and manipulation for random cost. These include:1) id_type, ids_type, rc_type under the solution structure. 2) encoding and decoding procedure for managing index set. 3) procedure for getting the correct column of basis inverse.