Also write motif index into occurrence table