Make bmass function user-friendly.