keep more deglut on java side it is quicker