Calculate smallest properly (it was off by one) and use proper ssize_t types for Win64
Calculate smallest properly (it was off by one) and use proper ssize_t types for Win64

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator