battleship-shaped curves