Assessing niche width of endothermic fish from genes to ecosystem