modify specialization function for recursive relmap
recursive relmaps can be calculated