Bar metrical analysis: map instead of tree