Solved bug in marker creation

Creation of two types of markers to simlify this work

All_nodes: has all the nodes that makes this marker (no needing of internal node)
Constrained: expand the non "all_nodes" elements, needs a internal node