make $record work when $word > $quantum