Switch an sapply to vapply
Re-indent and strip whitespace from change_bin()