PetScan::extract_for: rename variable "dim" to "space"