Could you post the gcode or a picture of the layer view?

Sounds like its trying to do infill in a small space, causing it to move back and forth very fast.