Changed read_coarse so that it is used for populating the coarse database