Phylogenic and ontogenic environments