inv_stack_recon works on elastic (verified in matlab)