An implementation of forest domain for shape analysis