added b2d scale variables