Improve roofnet_bp.py