Improvements on maplite