Water flow is the key.
Any Cory need 3 different layers of possible activity... Not that easy to achieve in small tanks.... Any imo.
But that all relies on water current.
1: slow, more near to not moving water, in the center area. Cories still requires a lot of rest, need some quiet places...