added segment map as out format