fixed kernel max