Version of the FOF N-body shop with minor hacks included