changed weird long->Py_ssize_t cast
no more bounds checking
accidentally left profiler hook
PEP8 formatting