Implementation of an algorithm etc. by Bollen