algorithm for maxrectTest and make file from [https://github.com/juj/RectangleBinPack]