reworked scalar length constants