better split2frame function
introduction of __compute_wrapper, this will simplify a lot all the analysis.
The new mode and lower functions use compute_wrapper
removed former mode function
added get_blocks to unify some similar calls