made assignExtent function pure virtual2