added pyx_connections. about 2x faster