Added multiresolution support