fixed spacebar width calculation