cell filling for all directions