Finer block wrapping algorithm. Remove concept of mutability. Added configurable stop & wrap.