Fixed min function
Updated package version