explicit min initial implementation