made boundaries smaller and adjusted range accordingly