glosser optimzations