Ray Allen wasn't a superstar or even star level player when he joined the Heat.
Durant joined a team that has the 3rd best, ~8th best, and ~15th best players in the league. The Miami team Lebron joined had an injury riddled ~7th best player and the ~14th best player. Ray Allen was probably somewhere in the 30-40th best player range at that point.