store similarities in memory
load subjects inline