implemented shelf first-fit.  noticable improvement