update assign2dbins.m