Powder layer position accuracy in powder-based rapid prototyping