Encoding the time and space constraints of a task in explicit-duration Hidden Markov Model | Synapse