Implemented and tested partial contiguity