FeaturePath begin_fp = m_feat2path.get("begin");
FeaturePath end_fp = m_feat2path.get("end");
ConstraintFactory cf = jcas.getConstraintFactory();
FSIntConstraint bcLower = cf.createIntConstraint();
bcLower.geq(begin_lower);
FSMatchConstraint mcBegin = cf.embedConstraint(begin_fp, bcLower);
if (begin_upper > begin_lower) {
FSIntConstraint bcUpper = cf.createIntConstraint();
bcUpper.lt(begin_upper);
mcBegin = cf.and(mcBegin, cf.embedConstraint(begin_fp, bcUpper));