beam map vs beam flatmap