1.37 x 24 only defines the diameter and threading of the bottom bracket and has little to do with chainline. Another parameter is spindle width which partially defines how far in or out your crank will mount. Assuming that your crank uses a square taper spindle, the taper may be ISO or JIS (or something else) and this may affect the chain line. Best advice is to use the crankset manufacturer's specification for spindle width and taper. If your current BB does not meet these specs, you may be able to correct with spacers (but 5 mm is a lot) or replace it.