Cleanup box_nbh2d interface
Fast local maxima and blockwise maxima. Cleanup the AIP.