fix: make worker weight default computation more robust