How are custody fees calculated?