self.insubmap bool -> int
submap base implement