Utility functions

Preparation for implementation of other splitting algorithms.