min.py: Got it working. Performance is abysmal