gen interface in leftistheap