maximize gap dependant + new makefile