add finer grid for finding modes