fixed odd quartile algorithm