Fix header includes
Min stack in constant time