Extract to step and local memories