@Override
public NativeImg<Unsigned2BitType, ? extends LongAccess> createSuitableNativeImg( final NativeImgFactory<Unsigned2BitType> storageFactory, final long dim[] )
{
// create the container
final NativeImg<Unsigned2BitType, ? extends LongAccess> container = storageFactory.createLongInstance( dim, new Fraction( getBitsPerPixel(), 64 ) );
// create a Type that is linked to the container
final Unsigned2BitType linkedType = new Unsigned2BitType( container );
// pass it to the NativeContainer