extended to all 8 octants