Move matching within get_all_slabs, which is more accurate.