fixed grid size and cleaned collision method