determining b/w weights